package com.xqboss.apps.vo.guild;

import com.xqboss.common.annotation.DataMask;
import com.xqboss.common.enums.DataMaskEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 公会成员信息vo
 * @author lujiahong
 * @date 2024-1-11
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("公会大厅-成员列表vo")
public class GuildMemberVo implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("是否为会长（true-是）")
    private Boolean isPresident;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("用户头像")
    private String avatar;

    @ApiModelProperty("手机号")
    @DataMask(function = DataMaskEnum.PHONE)
    private String phonenumber;

    @ApiModelProperty("好友备注")
    private String remarks;

    @ApiModelProperty("登录状态（0-今日内登录 数字-多少天前登录）")
    private Integer loginStatus;

    @ApiModelProperty("是否在线（false-离线 true-在线）")
    private Boolean isOnline;
}